package tt.dz.egobus.servicemanager.business.listener;

import org.springframework.context.ApplicationContext;
import org.springframework.data.redis.core.RedisTemplate;
import tt.dz.egobus.servicemanager.bean.IdAlgorithm;
import tt.dz.egobus.servicemanager.bean.RedisTopicMessage;

/**
 * @author Anson
 * @date 17-8-25
 * @name redis处理器
 * @since 1.0.6
 */
public interface RedisEventMessageHandler extends IdAlgorithm {

    /**
     * @param redisTopicMessage
     * @param redisTemplate
     * @param applicationContext
     * @author Anson
     * @date 17-8-25
     * @name 事件处理器
     * @since 1.0.6
     */
    void handlerEvent(RedisTopicMessage redisTopicMessage,
                      RedisTemplate redisTemplate, ApplicationContext applicationContext);


}
